<!--{if $widget_data.ads}-->
<div class="full-slides J_S{$widget_data.model_id}">
  <ul class="bd">
    <!-- {foreach from=$widget_data.ads item=image name=fe_image} -->
    <li style="height: 500px; background: url({$image.ad_image_url|url_format}) center center; background-size: 100% 100%;">
      <a href="{$image.ad_link_url}" target="_blank" style="display:block; height:500px; width:100%"></a>
    </li>					
    <!-- {/foreach} -->
  </ul>
  <div class="nav-box">
    <div class="hd"> 
      <!-- {foreach from=$widget_data.ads item=image name=fe_image} --> 
      <a {if $smarty.foreach.fe_image.first}class="ks-active"{/if} href="javascript:;"><i></i></a> 
      <!-- {/foreach} --> 
    </div>
  </div>
</div>
<script type="text/javascript">
	$(function(){
		$(".J_S{$widget_data.model_id}").slide({ titCell:".hd a", mainCell:".bd", effect:"{$widget_data.effect}",autoPlay:{$widget_data.autoplay}, titOnClassName:"ks-active", delayTime:1000, interTime: 5000});
	});
</script>  
<!--{else}-->
<center style="padding:10px;">请配置</center>    
<!--{/if}--> 



